#!/bin/bash
source /chalmers/sw/sup/cse/init/bash
module add DAT110

ncvhdl -messages -linedebug -v93 ./vhd/custom_types.vhd
ncvhdl -messages -linedebug -v93 ./vhd/precalc.vhd
ncvhdl -messages -linedebug -v93 ./vhd/RCA.vhd
ncvhdl -messages -linedebug -v93 ./vhd/logic_unit.vhd
ncvhdl -messages -linedebug -v93 ./vhd/shift_unit.vhd
ncvhdl -messages -linedebug -v93 ./vhd/mux16x1.vhd
ncvhdl -messages -linedebug -v93 ./vhd/busInvertCoding.vhd
ncvhdl -messages -linedebug -v93 ./vhd/dfs.vhd
ncvhdl -messages -linedebug -v93 ./vhd/decoder.vhd
ncvhdl -messages -linedebug -v93 ./vhd/ALU_RCA.vhd
ncvhdl -messages -linedebug -v93 ./vhd/testbench_ALU_RCA.vhd
ncvhdl -messages -linedebug -v93 ./vhd/ALU_RCA_without_bus_coding.vhd
ncvhdl -messages -linedebug -v93 ./vhd/testbench_ALU_RCA_without_bus_coding.vhd
ncvhdl -messages -linedebug -v93 ./vhd/ALU_RCA_without_DFS.vhd
ncvhdl -messages -linedebug -v93 ./vhd/testbench_ALU_RCA_without_DFS.vhd
ncvhdl -messages -linedebug -v93 ./vhd/testbenches.vhd

ncelab -messages -v93 WORKLIB.testbecnch_ALU_RCA:behavioral
ncelab -messages -v93 WORKLIB.testbecnch_ALU_RCA_without_bus_coding:behavioral
ncelab -messages -v93 WORKLIB.testbecnch_ALU_RCA_without_DFS:behavioral